#include "WordStream.h"

using namespace std;


int main(int argc, char** argv)
{
	WordStream::WordStream WS("/tmp/WordList.txt");

	while(!WS.IsEndOfStream())
		cout << WS.GetNextWord() << endl;

	WS.SeekToStart();

	while(!WS.IsEndOfStream())
		cout << WS.GetNextWord() << endl;

	return 0;
}
